package com.x.mvp.base.exlist;

import android.view.LayoutInflater;
import android.widget.SectionIndexer;

/**
 * Created by Administrator on 2017/9/4.
 */

public interface BaseListViewData extends SectionIndexer {
    int size();
    Object getItem(int pos);
    Object getHeaderItem(int pos);
    int getItemTypeCount();
    BaseViewHolder getHolder(int pos, LayoutInflater inflater);
    BaseViewHolder getHeaderHolder(int pos, LayoutInflater inflater);
    long getHeaderId(int position);
    int getLayoutId(int pos);
    int getHeaderLayoutId(int pos);
}
